package gq.example.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Question implements Serializable {
    @Schema(description = "问题id")
    private Integer id;

    @Schema(description = "部门id")
    private Integer sector_id; // 所属部门

    @Schema(description = "问题类型")
    private Integer type;

    @Schema(description = "标题")
    private String headline;

    @Schema(description = "描述")
    private String description;

    @Schema(description = "状态")
    private  Integer status; // 状态

    @Schema(description = "评分")
    private Integer mark; // 评分

    @Schema(description = "评价")
    private String assess; // 评价

    @Schema(description = "创建人")
    private  Long createUser;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "是否回复")
    private Integer isReply; //是否回复
}
